Skip to content

fix: update chatgpt selectors for turns (#56)#60

Open
NogaUwU wants to merge 1 commit into
masterfrom
fix/issue-56
Open

fix: update chatgpt selectors for turns (#56)#60
NogaUwU wants to merge 1 commit into
masterfrom
fix/issue-56

Conversation

@NogaUwU

@NogaUwU NogaUwU commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Closes #56. Updates selectors for ChatGPT to handle new turn attributes and classes.

@FuugaMo

FuugaMo commented Jun 22, 2026

Copy link
Copy Markdown
Owner

@codex Please review this PR. If you find no critical issues, reply with "LGTM". If you find critical issues, describe them clearly.

@github-actions

Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

LGTM from automated reviewer. Please still verify both ChatGPT and Claude manually before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: yes
  • sidepanel/viewer touched: no

Findings

  • No structural findings from the lightweight reviewer.

Verdict: lgtm

1 similar comment
@github-actions

Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

LGTM from automated reviewer. Please still verify both ChatGPT and Claude manually before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: yes
  • sidepanel/viewer touched: no

Findings

  • No structural findings from the lightweight reviewer.

Verdict: lgtm

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f53dae393

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread content.js
Comment on lines +31 to +32
'.conversation-turn',
'[data-role]',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Wire new ChatGPT selectors into turn parsing

When ChatGPT's updated DOM only exposes .conversation-turn/data-role (the scenario these entries target), these additions only affect diagnostics/probes: readChatGPTTurns() and getChatGPTMessageTurns() still hard-code their selector lists, and mapChatGPTTurn() still never reads data-role. As a result, the extension will still miss those turns or classify every turn without data-message-author-role as assistant, so the reported ChatGPT selector breakage remains unfixed. Please add the new selectors and role attribute to the runtime parser, not just the selector registry.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AUTO] · chatgpt · no_turns_detected · turns, turnRoleAttr

2 participants